package com.renli.mapper;




import com.renli.pojo.Role;
import com.renli.pojo.User;
import org.apache.ibatis.annotations.Param;
import com.renli.pojo.Event;
import java.awt.*;
import java.util.List;
import java.util.Map;

public interface RoleMapper {
    List<Role> selectByLoginId(Integer loginId);


    List<Role> findAll(Map<String,Object> map);

    Long findAllCount(Map<String,Object> map);

   int updatePerm(Map<String, Integer> listMap);

    int addPerm(Map<String, Integer> map);

    int delPerm(Map<String, Integer> map);

    List<Integer> selectByUserId(User user);

    List<Event> selectTodolist(List<Integer> roles);
}
